﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001197 RID: 4503
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetStuffToAreaCsReq : IMessage<SetStuffToAreaCsReq>, IMessage, IEquatable<SetStuffToAreaCsReq>, IDeepCloneable<SetStuffToAreaCsReq>, IBufferMessage
	{
		// Token: 0x170038F6 RID: 14582
		// (get) Token: 0x0600C989 RID: 51593 RVA: 0x0021F229 File Offset: 0x0021D429
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetStuffToAreaCsReq> Parser
		{
			get
			{
				return SetStuffToAreaCsReq._parser;
			}
		}

		// Token: 0x170038F7 RID: 14583
		// (get) Token: 0x0600C98A RID: 51594 RVA: 0x0021F230 File Offset: 0x0021D430
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetStuffToAreaCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170038F8 RID: 14584
		// (get) Token: 0x0600C98B RID: 51595 RVA: 0x0021F242 File Offset: 0x0021D442
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetStuffToAreaCsReq.Descriptor;
			}
		}

		// Token: 0x0600C98C RID: 51596 RVA: 0x0021F249 File Offset: 0x0021D449
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetStuffToAreaCsReq()
		{
		}

		// Token: 0x0600C98D RID: 51597 RVA: 0x0021F251 File Offset: 0x0021D451
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetStuffToAreaCsReq(SetStuffToAreaCsReq other) : this()
		{
			this.lGBDDMADNBE_ = other.lGBDDMADNBE_;
			this.pos_ = other.pos_;
			this.bIIHOBMMFDP_ = other.bIIHOBMMFDP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C98E RID: 51598 RVA: 0x0021F28E File Offset: 0x0021D48E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetStuffToAreaCsReq Clone()
		{
			return new SetStuffToAreaCsReq(this);
		}

		// Token: 0x170038F9 RID: 14585
		// (get) Token: 0x0600C98F RID: 51599 RVA: 0x0021F296 File Offset: 0x0021D496
		// (set) Token: 0x0600C990 RID: 51600 RVA: 0x0021F29E File Offset: 0x0021D49E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LGBDDMADNBE
		{
			get
			{
				return this.lGBDDMADNBE_;
			}
			set
			{
				this.lGBDDMADNBE_ = value;
			}
		}

		// Token: 0x170038FA RID: 14586
		// (get) Token: 0x0600C991 RID: 51601 RVA: 0x0021F2A7 File Offset: 0x0021D4A7
		// (set) Token: 0x0600C992 RID: 51602 RVA: 0x0021F2AF File Offset: 0x0021D4AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PEFBCGPHGBG Pos
		{
			get
			{
				return this.pos_;
			}
			set
			{
				this.pos_ = value;
			}
		}

		// Token: 0x170038FB RID: 14587
		// (get) Token: 0x0600C993 RID: 51603 RVA: 0x0021F2B8 File Offset: 0x0021D4B8
		// (set) Token: 0x0600C994 RID: 51604 RVA: 0x0021F2C0 File Offset: 0x0021D4C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BIIHOBMMFDP
		{
			get
			{
				return this.bIIHOBMMFDP_;
			}
			set
			{
				this.bIIHOBMMFDP_ = value;
			}
		}

		// Token: 0x0600C995 RID: 51605 RVA: 0x0021F2C9 File Offset: 0x0021D4C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetStuffToAreaCsReq);
		}

		// Token: 0x0600C996 RID: 51606 RVA: 0x0021F2D8 File Offset: 0x0021D4D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetStuffToAreaCsReq other)
		{
			return other != null && (other == this || (this.LGBDDMADNBE == other.LGBDDMADNBE && this.Pos == other.Pos && this.BIIHOBMMFDP == other.BIIHOBMMFDP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C997 RID: 51607 RVA: 0x0021F334 File Offset: 0x0021D534
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LGBDDMADNBE != 0U)
			{
				num ^= this.LGBDDMADNBE.GetHashCode();
			}
			if (this.Pos != PEFBCGPHGBG.WorkPosNone)
			{
				num ^= this.Pos.GetHashCode();
			}
			if (this.BIIHOBMMFDP != 0U)
			{
				num ^= this.BIIHOBMMFDP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C998 RID: 51608 RVA: 0x0021F3AB File Offset: 0x0021D5AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C999 RID: 51609 RVA: 0x0021F3B3 File Offset: 0x0021D5B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C99A RID: 51610 RVA: 0x0021F3BC File Offset: 0x0021D5BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BIIHOBMMFDP != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.BIIHOBMMFDP);
			}
			if (this.LGBDDMADNBE != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.LGBDDMADNBE);
			}
			if (this.Pos != PEFBCGPHGBG.WorkPosNone)
			{
				output.WriteRawTag(64);
				output.WriteEnum((int)this.Pos);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C99B RID: 51611 RVA: 0x0021F434 File Offset: 0x0021D634
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LGBDDMADNBE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LGBDDMADNBE);
			}
			if (this.Pos != PEFBCGPHGBG.WorkPosNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Pos);
			}
			if (this.BIIHOBMMFDP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BIIHOBMMFDP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C99C RID: 51612 RVA: 0x0021F4A4 File Offset: 0x0021D6A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetStuffToAreaCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LGBDDMADNBE != 0U)
			{
				this.LGBDDMADNBE = other.LGBDDMADNBE;
			}
			if (other.Pos != PEFBCGPHGBG.WorkPosNone)
			{
				this.Pos = other.Pos;
			}
			if (other.BIIHOBMMFDP != 0U)
			{
				this.BIIHOBMMFDP = other.BIIHOBMMFDP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C99D RID: 51613 RVA: 0x0021F508 File Offset: 0x0021D708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C99E RID: 51614 RVA: 0x0021F514 File Offset: 0x0021D714
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 56U)
					{
						if (num != 64U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Pos = (PEFBCGPHGBG)input.ReadEnum();
						}
					}
					else
					{
						this.LGBDDMADNBE = input.ReadUInt32();
					}
				}
				else
				{
					this.BIIHOBMMFDP = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040050E6 RID: 20710
		private static readonly MessageParser<SetStuffToAreaCsReq> _parser = new MessageParser<SetStuffToAreaCsReq>(() => new SetStuffToAreaCsReq());

		// Token: 0x040050E7 RID: 20711
		private UnknownFieldSet _unknownFields;

		// Token: 0x040050E8 RID: 20712
		public const int LGBDDMADNBEFieldNumber = 7;

		// Token: 0x040050E9 RID: 20713
		private uint lGBDDMADNBE_;

		// Token: 0x040050EA RID: 20714
		public const int PosFieldNumber = 8;

		// Token: 0x040050EB RID: 20715
		private PEFBCGPHGBG pos_;

		// Token: 0x040050EC RID: 20716
		public const int BIIHOBMMFDPFieldNumber = 4;

		// Token: 0x040050ED RID: 20717
		private uint bIIHOBMMFDP_;
	}
}
